package com.zhima.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zhima
 * @since 2023-08-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("oj_question_bind_bank")
@ApiModel(value = "OjQuestionBindBank对象", description = "")
public class OjQuestionBindBank implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("题库id")
    @TableField("question_bank_id")
    private Long questionBankId;

    @ApiModelProperty("题目id")
    @TableField("question_id")
    private Long questionId;

    @ApiModelProperty("题目编号")
    @TableField("question_number")
    private String questionNumber;

    @ApiModelProperty("题目index")
    @TableField("question_index")
    private Integer questionIndex;
}
